using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    /// <summary>
    /// 入库预约商品明细表
    /// </summary>
    public class WarehouseReserveGood: AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        public Guid? TenantId { get; set; }
        
        /// <summary>
        /// 商品ID
        /// </summary>
        [Required]
        public Guid GoodId { get; set; }
        
        /// <summary>
        /// 商品图片
        /// </summary>
        [Required]
        public string Pic { get; set; }
        
        /// <summary>
        /// 商品编码
        /// </summary>
        [Required]
        public string GoodNo { get; set; }
        
        /// <summary>
        /// 单位
        /// </summary>
        [Required]
        public string Company { get; set; }
        
        /// <summary>
        /// 提示
        /// </summary>
        [Required]
        public string GoodPrompt { get; set; }
        
        /// <summary>
        /// 规格值
        /// </summary>
        [Required]
        public string GoodSkuValue { get; set; }
        
        /// <summary>
        /// 条码
        /// </summary>
        [Required]
        public string GoodBarCode { get; set; }
        
        /// <summary>
        /// 入库预约ID
        /// </summary>
        [Required]
        public Guid WarehouseReserveId { get; set; }
        
        /// <summary>
        /// 预约数量
        /// </summary>
        [Required]
        public int ReservationQuantity { get; set; }
        
        /// <summary>
        /// 标准售价
        /// </summary>
        [Required]
        public string GoodRetailPrice { get; set; }
        
        /// <summary>
        /// 商品名称
        /// </summary>
        [Required]
        public string GoodName { get; set; }
        
        /// <summary>
        /// 规格编码
        /// </summary>
        [Required]
        public string GoodSkuCode { get; set; }
        
        /// <summary>
        /// 商品品牌
        /// </summary>
        [Required]
        public int GoodBrand { get; set; }
        
        /// <summary>
        /// 商品等级
        /// </summary>
        [Required]
        public int GoodLevel { get; set; }
        
        /// <summary>
        /// 实际入库数量
        /// </summary>
        [Required]
        public int ActualQuantity { get; set; }
        
		
		public bool IsDeleted { get; set; }
    }
}